import UseLogCustomPath from "../page/01useLogCustom/index"
import UseContextCustomPath from "../page/02useContextCustom"
import UseScrollPosCustomPath from "../page/03useScrollPosCustom"
import UseInfiniteDataPath from "../page/04useInfiniteData"
import Product from "../page/01useLogCustom/Product"
import Home from "../page/01useLogCustom/Home"
import PageA from "../page/03useScrollPosCustom/PageA"
import PageB from "../page/03useScrollPosCustom/PageB"
import PageC from "../page/04useInfiniteData/PageC"
import PageD from "../page/04useInfiniteData/PageD"
import NotFound from "./404"
const routes = [
  {
    path: "/",
    element: <UseScrollPosCustomPath />
  },
  {
    path: "/UseLogCustomPath",
    element: <UseLogCustomPath />
  },
  {
    path: "/UseContextCustomPath",
    element: <UseContextCustomPath />
  },
  {
    path: "/UseScrollPosCustomPath",
    element: <UseScrollPosCustomPath />
  },
  {
    path: "/UseInfiniteDataPath",
    element: <UseInfiniteDataPath />
  },
  {
    path: "/Product",
    element: <Product />
  },
  {
    path: "/Home",
    element: <Home />
  },
  {
    path: "/PageA",
    element: <PageA />
  },
  {
    path: "/PageB",
    element: <PageB />
  },
  {
    path: "/PageC",
    element: <PageC />
  },
  {
    path: "/PageD",
    element: <PageD />
  },
  {
    path: "*",
    element: <NotFound />
  }
]

export default routes
